package com.aaa.doctor.controller;

import com.aaa.doctor.service.SchedulingService;
import com.aaa.doctor.vo.SchedulingVo;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: his-open-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-03-28 11:43
 **/
@RestController
@RequestMapping("doctor/scheduling")
public class SchedulingController {

    @Autowired
    private SchedulingService schedulingService;
    @PostMapping("queryScheduling")
    public Result queryScheduling(SchedulingVo schedulingVo){
        return schedulingService.queryScheduling(schedulingVo);
    }
}
